import service from '@/utils/request'

// @Tags LargeScaleOrderSapStepLog
// @Summary 创建大办单sap执行步骤记录
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body model.LargeScaleOrderSapStepLog true "创建大办单sap执行步骤记录"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"创建成功"}"
// @Router /largeScaleOrderSapStepLog/createLargeScaleOrderSapStepLog [post]
export const createLargeScaleOrderSapStepLog = (data) => {
  return service({
    url: '/largeScaleOrderSapStepLog/createLargeScaleOrderSapStepLog',
    method: 'post',
    data
  })
}

// @Tags LargeScaleOrderSapStepLog
// @Summary 删除大办单sap执行步骤记录
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body model.LargeScaleOrderSapStepLog true "删除大办单sap执行步骤记录"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"删除成功"}"
// @Router /largeScaleOrderSapStepLog/deleteLargeScaleOrderSapStepLog [delete]
export const deleteLargeScaleOrderSapStepLog = (params) => {
  return service({
    url: '/largeScaleOrderSapStepLog/deleteLargeScaleOrderSapStepLog',
    method: 'delete',
    params
  })
}

// @Tags LargeScaleOrderSapStepLog
// @Summary 批量删除大办单sap执行步骤记录
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body request.IdsReq true "批量删除大办单sap执行步骤记录"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"删除成功"}"
// @Router /largeScaleOrderSapStepLog/deleteLargeScaleOrderSapStepLog [delete]
export const deleteLargeScaleOrderSapStepLogByIds = (params) => {
  return service({
    url: '/largeScaleOrderSapStepLog/deleteLargeScaleOrderSapStepLogByIds',
    method: 'delete',
    params
  })
}

// @Tags LargeScaleOrderSapStepLog
// @Summary 更新大办单sap执行步骤记录
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body model.LargeScaleOrderSapStepLog true "更新大办单sap执行步骤记录"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"更新成功"}"
// @Router /largeScaleOrderSapStepLog/updateLargeScaleOrderSapStepLog [put]
export const updateLargeScaleOrderSapStepLog = (data) => {
  return service({
    url: '/largeScaleOrderSapStepLog/updateLargeScaleOrderSapStepLog',
    method: 'put',
    data
  })
}

// @Tags LargeScaleOrderSapStepLog
// @Summary 用id查询大办单sap执行步骤记录
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data query model.LargeScaleOrderSapStepLog true "用id查询大办单sap执行步骤记录"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"查询成功"}"
// @Router /largeScaleOrderSapStepLog/findLargeScaleOrderSapStepLog [get]
export const findLargeScaleOrderSapStepLog = (params) => {
  return service({
    url: '/largeScaleOrderSapStepLog/findLargeScaleOrderSapStepLog',
    method: 'get',
    params
  })
}

// @Tags LargeScaleOrderSapStepLog
// @Summary 分页获取大办单sap执行步骤记录列表
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data query request.PageInfo true "分页获取大办单sap执行步骤记录列表"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}"
// @Router /largeScaleOrderSapStepLog/getLargeScaleOrderSapStepLogList [get]
export const getLargeScaleOrderSapStepLogList = (params) => {
  return service({
    url: '/largeScaleOrderSapStepLog/getLargeScaleOrderSapStepLogList',
    method: 'get',
    params
  })
}
